﻿using AD.Manage;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using XF.Common;
using XF.Meeting.DAL;
using XF.Meeting.Entity.CommonEntity;
using XF.Meeting.Entity.dbEntity;
using XF.Meeting.Entity.DTO;
using XF.Meeting.Entity.Query;
using XF.Meeting.Service;
using XF.Meeting.Entity.View;
using XF.Meeting.IDal;
using XF.Meeting.Common;
using XF.Meeting.Entity.CommonEntity.wx;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            #region   AD同步数据库（user信息）
            //string strSqlConn = UCommonWork.Common.Commons.MD5DecodeString(Convert.ToString(System.Configuration.ConfigurationManager.AppSettings["SQLConnString"]));
            //ADSync sync = new ADSync();
            //var a = sync.ADSyncManage(strSqlConn);
            #endregion


            //string a = "zhangqi@xfservice.com";
            //var DistinguishedName = a.Substring(0, a.IndexOf("@"));
           var wx=new WeChatHelper();
             wx.SendWxMssage(new CRoomPadQuery() { 
              CInfoId= 24
             });
            //var msg = new Message(new Text($"测试信息123"),"pengnian.shen|");
            //wx.SendTextMessage(msg);
            Console.WriteLine(1);
            Console.ReadLine();
        }
    }
}
